
const rootImgUrl = 'https://www.zmkxds.cn/images/'
let image = {}

// 定义所有需要加载的图片资源
image.imageAssets = {
  // 登录页面
  'loadingLog': rootImgUrl + 'loadingLog.png',
  'loadingBtn': rootImgUrl + 'loadingBtn.png',
  // 每日领奖
  'signPopupBg': rootImgUrl + 'signPopupBg.png',
  //主页
  'shareIcon': rootImgUrl + 'share.png',
  'mainBg': rootImgUrl + 'mainBg.png',
  'practiceBtn': rootImgUrl + 'practiceBtn.png',
  'rankingBtn': rootImgUrl + 'rankingBtn.png',
  'challengeBtn': rootImgUrl + 'challengeBtn.png',
  'defaultAvatar': rootImgUrl + 'defaultAvatar.png',
  // 个人信息
  'userBg': rootImgUrl + 'userBg.png',
  'backIcon': rootImgUrl + 'backIcon.png',
  'userLogs': rootImgUrl + 'userLogs.png',
  // 排行榜
  'rankingBg': rootImgUrl + 'rankingBg.png',
  'rankingIcon': rootImgUrl + 'rankingIcon.png',
  'rankingIconSelect': rootImgUrl + 'rankingIconSelect.png',
  'challengeIcon': rootImgUrl + 'challengeIcon.png',
  'challengeIconSelect': rootImgUrl + 'challengeIconSelect.png',
  // 游戏界面
  'buyIcon': rootImgUrl + 'buyIcon.png',
  'sellIcon': rootImgUrl + 'sellIcon.png',
  'startIcon': rootImgUrl + 'startIcon.png',
  'gamePop': rootImgUrl + 'gamePop.png',
  'changeDiceIcon': rootImgUrl + 'changeDiceIcon.png',
  'gameResultPop': rootImgUrl + 'gameResultPop.png',
  // 游戏结算界面
  'tipsIcon': rootImgUrl + 'tips.png',
  'earnIcon': rootImgUrl + 'earnIcon.png',
  'recordBg': rootImgUrl + 'recordBg.png',
  'showIcon': rootImgUrl + 'showIcon.png',
  'againIcon': rootImgUrl + 'againIcon.png'
};

// 定义所有需要加载的图片资源
image.imageAssetsList = [
  // 登录页面
  { name: 'loadingLog', src: rootImgUrl + 'loadingLog.png' },
  { name: 'loadingBtn', src: rootImgUrl + 'loadingBtn.png' },
  // 每日领奖
  { name: 'signPopupBg', src: rootImgUrl + 'signPopupBg.png' },
  { name: 'claimedIcon', src: rootImgUrl + 'claimedIcon.png' },
  { name: 'showRewardBtn', src: rootImgUrl + 'showRewardBtn.png' },
  { name: 'dayIcon1', src: rootImgUrl + 'dayIcon1.png' },
  { name: 'dayIcon2', src: rootImgUrl + 'dayIcon2.png' },
  { name: 'dayIcon3', src: rootImgUrl + 'dayIcon3.png' },
  { name: 'dayIcon4', src: rootImgUrl + 'dayIcon4.png' },
  { name: 'dayIcon5', src: rootImgUrl + 'dayIcon5.png' },
  { name: 'dayIcon6', src: rootImgUrl + 'dayIcon6.png' },
  { name: 'dayIcon7', src: rootImgUrl + 'dayIcon7.png' },
  //主页
  { name: 'shareIcon', src: rootImgUrl + 'share.png' },
  { name: 'mainBg', src: rootImgUrl + 'mainBg.png' },
  { name: 'practiceBtn', src: rootImgUrl + 'practiceBtn.png' },
  { name: 'rankingBtn', src: rootImgUrl + 'rankingBtn.png' },
  { name: 'challengeBtn', src: rootImgUrl + 'challengeBtn.png' },
  { name: 'defaultAvatar', src: rootImgUrl + 'defaultAvatar.png' },
  // 个人信息
  { name: 'userBg', src: rootImgUrl + 'userBg.png' },
  { name: 'backIcon', src: rootImgUrl + 'backIcon.png' },
  { name: 'userLogs', src: rootImgUrl + 'userLogs.png' },
  // 排行榜
  { name: 'rankingBg', src: rootImgUrl + 'rankingBg.png' },
  { name: 'rankingIcon', src: rootImgUrl + 'rankingIcon.png' },
  { name: 'rankingIconSelect', src: rootImgUrl + 'rankingIconSelect.png' },
  { name: 'challengeIcon', src: rootImgUrl + 'challengeIcon.png' },
  { name: 'challengeIconSelect', src: rootImgUrl + 'challengeIconSelect.png' },
  // 游戏界面
  { name: 'buyIcon', src: rootImgUrl + 'buyIcon.png' },
  { name: 'sellIcon', src: rootImgUrl + 'sellIcon.png' },
  { name: 'startIcon', src: rootImgUrl + 'startIcon.png' },
  { name: 'gamePop', src: rootImgUrl + 'gamePop.png' },
  { name: 'changeDiceIcon', src: rootImgUrl + 'changeDiceIcon.png' },
  { name: 'gameResultPop', src: rootImgUrl + 'gameResultPop.png' },
  { name: 'setIcon', src: rootImgUrl + 'setIcon.png' },
  // 游戏结算界面
  { name: 'tipsIcon', src: rootImgUrl + 'tips.png' },
  { name: 'earnIcon', src: rootImgUrl + 'earnIcon.png' },
  { name: 'recordBg', src: rootImgUrl + 'recordBg.png' },
  { name: 'showIcon', src: rootImgUrl + 'showIcon.png' },
  { name: 'againIcon', src: rootImgUrl + 'againIcon.png' },
  { name: 'promptCard', src: rootImgUrl + 'promptCard.png' },
  // 海报分享界面
  { name: 'shareBg', src: rootImgUrl + 'shareBg.png' },
  { name: 'shareBottomIcon', src: rootImgUrl + 'shareBottomIcon.png' }
];

export default image;